﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PADWH35
{

    public class weatherDto
    {
        /// <summary>
        /// 省
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 代码
        /// </summary>
        public string adcode { get; set; }
        /// <summary>
        /// 天气
        /// </summary>
        public string weather { get; set; }
        /// <summary>
        /// 温度
        /// </summary>
        public string temperature { get; set; }
        /// <summary>
        /// 风向
        /// </summary>
        public string winddirection { get; set; }
        /// <summary>
        /// 风力
        /// </summary>
        public string windpower { get; set; }
        /// <summary>
        /// 指数
        /// </summary>
        public string humidity { get; set; }
        /// <summary>
        /// 报告时间
        /// </summary>
        public string reporttime { get; set; }
    }

    public class Root
    {
        /// <summary>
        /// 返回状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 返回结果总数目
        /// </summary>
        public string count { get; set; }
        /// <summary>
        /// 返回的状态信息
        /// </summary>
        public string info { get; set; }
        /// <summary>
        /// 返回状态说明,10000代表正确
        /// </summary>
        public string infocode { get; set; }
        /// <summary>
        /// 实况天气数据信息
        /// </summary>
        public List<weatherDto> lives { get; set; }
    }
}


